package com.stadium.mapper;

import com.stadium.dto.GameTeamDto;
import com.stadium.dto.TeamListDto;
import com.stadium.entity.GameEvent;
import com.stadium.dto.GameEventDto;
import com.stadium.vo.GameEventVo;
import com.stadium.vo.searchVo.GameTeamSearchVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.GameEventSearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 赛事详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:10
 */
public interface GameEventMP {
    void save(GameEvent gameEvent);

    void saveBatch(List<GameEvent> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GameEvent gameEvent);

    List<GameEventDto> query(GameEventSearchVo searchVo);

    GameEventDto get(String id);

    int getCount(GameEventSearchVo searchVo);

    List<GameTeamDto> auditTeam(GameTeamSearchVo vo);

    int auditTeamCount(GameTeamSearchVo vo);

    List<TeamListDto> getTeamsByEventId(@Param("eventId") String eventId);
}
